package com.fishery.authority.service;

import com.fishery.authority.entity.Function;
import com.fishery.authority.entity.FunctionRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hy
 * @since 2021-01-18
 */
public interface FunctionRoleService extends IService<FunctionRole> {

    /**
     * 根据角色获取权限
     *
     * @param roleId
     * @return
     */
    List<FunctionRole> selectByRoleId(String roleId);
}